<?php

namespace App\Controllers\Home;

use App\Controllers\Controller;
use App\Facades\Db;
use App\Models\Base\Classify;

class IndexController extends Controller
{

    public function index()
    {

        $db1 = Db::table('article');
        //$tmp = Classify::query()->find(1);
        //print_r($tmp);
        $db2 = Db::table('classify');
        //$res2 = $db2->find(10);
        //$res1 = $db1->find(1);
        //print_r($res1);exit;
        $this->display('/welcome');
    }

}
